package com.ruoyi.chy.service;

import java.util.List;
import com.ruoyi.chy.domain.Withdrawal;

/**
 * 提现信息Service接口
 * 
 * @author liuweichao
 * @date 2025-05-30
 */
public interface IWithdrawalService 
{
    /**
     * 查询提现信息
     * 
     * @param id 提现信息主键
     * @return 提现信息
     */
    public Withdrawal selectWithdrawalById(Integer id);

    /**
     * 查询提现信息列表
     * 
     * @param withdrawal 提现信息
     * @return 提现信息集合
     */
    public List<Withdrawal> selectWithdrawalList(Withdrawal withdrawal);

    /**
     * 新增提现信息
     * 
     * @param withdrawal 提现信息
     * @return 结果
     */
    public int insertWithdrawal(Withdrawal withdrawal);

    /**
     * 修改提现信息
     * 
     * @param withdrawal 提现信息
     * @return 结果
     */
    public int updateWithdrawal(Withdrawal withdrawal);

    /**
     * 批量删除提现信息
     * 
     * @param ids 需要删除的提现信息主键集合
     * @return 结果
     */
    public int deleteWithdrawalByIds(Integer[] ids);

    /**
     * 删除提现信息信息
     * 
     * @param id 提现信息主键
     * @return 结果
     */
    public int deleteWithdrawalById(Integer id);

    public List<Withdrawal> selectWithdrawalByMerchantId(Integer merchantId);
}
